<?php

namespace App\Listeners;

use App\Events\MoneyPayEvent;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;

class MoneyPayNotification implements ShouldQueue
{
    public $str;
    /**
     * Create the event listener.
     *
     * @return void
     */
    public function __construct()
    {

    }

    /**
     * Handle the event.
     *
     * @param  \App\Events\MoneyPayEvent  $event
     * @return void
     */
    public function handle(MoneyPayEvent $event)
    {
        var_dump($event->str);
        var_dump("余额支付");
    }
}
